<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPages/MainTemplate.Master" AutoEventWireup="true" CodeBehind="SubmitDraft.aspx.cs" Inherits="AlexandriaPressWebsite.MasterPages.WebForm8" %>
<asp:Content ID="Content1" ContentPlaceHolderID="mainDoc" runat="server">
    <div>
        <br />
        <asp:Label ID="Label1" runat="server" Text="Title"></asp:Label>
        <br />
        <br />
        <asp:ScriptManager ID="ScriptManager2" runat="server" />

        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <Triggers>
            <asp:AsyncPostBackTrigger controlid="txtBookTitle" eventname="TextChanged" />
        </Triggers>
        <ContentTemplate>
            <asp:TextBox ID="txtBookTitle" runat="server" ontextchanged="txtBookTitle_TextChanged" AutoPostBack="True"></asp:TextBox>
            <asp:Label ID="lblDraftTitleValidator" runat="server" ForeColor="Red" Text="  "></asp:Label>
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtBookTitle" ErrorMessage="Required" 
                ValidationGroup="submit"></asp:RequiredFieldValidator>
            <asp:Label ID="Label2" runat="server" Text=" " ForeColor="Red"></asp:Label>
        </ContentTemplate>
        </asp:UpdatePanel>
        <br />
        <br />
        Genre<br />
        <asp:TextBox ID="txtGenre" runat="server"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="txtGenre" ErrorMessage="Required" 
            ValidationGroup="submit"></asp:RequiredFieldValidator>
        <br />
        <br />
        <br />
    
    </div>
    <p>
        
        <asp:Label ID="Label3" runat="server" Text="Upload File"></asp:Label>
&nbsp;&nbsp;&nbsp;
        
    <asp:FileUpload ID="fileUpload" runat="server" CssClass="fileUpload" />
    <asp:Label ID="lblFileUploadStatus" runat="server" Text="   "></asp:Label>
    </p>
    
    <p>
        <asp:Label ID="Label4" runat="server" Text="Upload Image"></asp:Label>
        <asp:FileUpload ID="FileUpload1" runat="server" CssClass="fileUpload" />
        <asp:Label ID="lblImageUploadStatus" runat="server" Text="   "></asp:Label>
    </p>
    
    <p>
        &nbsp;</p>
    
    <p>
        <asp:Button ID="Button3" runat="server" onclick="Button3_Click" 
            Text="Submit Draft" CssClass="genericButton" ValidationGroup="submit" />
    </p>
    <p>
        <asp:HyperLink ID="lnkCheckBookStatus" runat="server" 
            NavigateUrl="~/MasterPages/AuthorPages/SearchAllDrafts.aspx">Check All Draft Status</asp:HyperLink>
</p>
    <p>
        &nbsp;</p>
    <p>
        &nbsp;</p>
    <div>
    
    
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="formDoc" runat="server">
</asp:Content>
